package com.hl.shifangzhiyu.mapper;

import com.hl.shifangzhiyu.pojo.ConsultationRecord;
import com.hl.shifangzhiyu.pojo.ConsultationRecordDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface ConsultationRecordMapper {
    List<ConsultationRecordDTO> findByUserId(@Param("userId") Integer userId);

    int updateEvaluateStatus(@Param("id") Integer id, @Param("evaluateStatus") Integer evaluateStatus);
}